<?php
return array(
  'name' => 'App',
  'upload' => '/srv/work/sparrow2012/public/upload/',
  'appkey' => '21257904',
  'secret' => '7c67a9721bbb79cbe2777eaf18cf9b97',

  'mall' => array(
    'taobao' => array(
      'url' => 'http://www.taobao.com',
      'cname' => '淘宝网',
      'ename' => 'taobao'
    ),
  ),

  'nav' => array(
    'mall' => array(
      'cname' => '导航管理',
      'name' => 'mall',
      'url' => url('mall'),
      'sub' => array(
        array('url'=>url('mall/list'), 'cname' => '网站管理'),
        array('url'=>url('mall/type'), 'cname' => '类型管理'),
      )
    ),
    'product' => array(
      'cname' => '商品管理',
      'name' => 'product',
      'url' => url('product'),
      'sub' => array(
        array('url'=>url('product/category'), 'cname' => '商品类型管理'),
        array('url'=>url('product/list'), 'cname' => '已选折扣商品'),
        array('url'=>url('product/taobao'), 'cname' => '淘宝折扣商品'),
        array('url'=>url('product/auto'), 'cname' => '自动添加管理'),
      )
    ),
/*
    'user' => array(
      'cname' => '用户管理',
      'name' => 'user',
      'url' => url('user'),
    ),
    'gallery' => array(
      'cname' => '专题管理',
      'name' => 'gallery',
      'url' => url('gallery'),
    ),
    'config' => array(
      'cname' => '网站配置',
      'name' => 'config',
      'url' => url('config'),
    ),
*/
  ),
);
